package svn;

public class punto2d {
    private int x;
    private int y;
    public punto2d() {
        super();
    }

    public punto2d(int x, int y) {
        super();
        this.x = x;
        this.y = y;
    }

    public synchronized void setX(int x) {
        this.x = x;
    }

    public synchronized int getX() {
        return x;
    }

    public synchronized void setY(int y) {
        this.y = y;
    }

    public synchronized int getY() {
        return y;
    }
}
